json.array! @purchase_orders, partial: 'purchase_orders/purchase_order', as: :purchase_order
